

            function addArduinoCod (Blockly) {
            
                        
                        
                        
                        

                        
        Blockly.Arduino['EXT_GESTURE_SENSORS_BLOCK_1608802867987'] = function(block)
        {
            
          
            Blockly.Arduino.definitions_['include_EXT_GESTURE_SENSORS_BLOCK_1608802867987'] = `\n#include "SparkFun_APDS9960.h"`;
            Blockly.Arduino.definitions_['define_EXT_GESTURE_SENSORS_BLOCK_1608802867987'] = `SparkFun_APDS9960 apds = SparkFun_APDS9960();\r\n\r\nint gestureStatus;`;
            Blockly.Arduino.definitions_['setup_EXT_GESTURE_SENSORS_BLOCK_1608802867987'] = `apds.init();\r\n  apds.enableGestureSensor(true);`;
             return  `\r\n`;
        }
                    

                        
        Blockly.Arduino['EXT_GESTURE_SENSORS_BLOCK_1608802868160'] = function(block)
        {
            
          
            Blockly.Arduino.definitions_['include_EXT_GESTURE_SENSORS_BLOCK_1608802868160'] = ``;
            Blockly.Arduino.definitions_['define_EXT_GESTURE_SENSORS_BLOCK_1608802868160'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_GESTURE_SENSORS_BLOCK_1608802868160'] = ``;
             return  `gestureStatus = apds.readGesture();\r\n`;
        }
                    

                        
        Blockly.Arduino['EXT_GESTURE_SENSORS_BLOCK_1608802868229'] = function(block)
        {
            
          
            Blockly.Arduino.definitions_['include_EXT_GESTURE_SENSORS_BLOCK_1608802868229'] = ``;
            Blockly.Arduino.definitions_['define_EXT_GESTURE_SENSORS_BLOCK_1608802868229'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_GESTURE_SENSORS_BLOCK_1608802868229'] = ``;
             return  [`apds.isGestureAvailable()`];
        }
                    

                        
        Blockly.Arduino['EXT_GESTURE_SENSORS_BLOCK_1608802868289'] = function(block)
        {
            let key = this.getFieldValue('key');
          
            Blockly.Arduino.definitions_['include_EXT_GESTURE_SENSORS_BLOCK_1608802868289'] = ``;
            Blockly.Arduino.definitions_['define_EXT_GESTURE_SENSORS_BLOCK_1608802868289'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_GESTURE_SENSORS_BLOCK_1608802868289'] = ``;
             return  [`gestureStatus == ${key}`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        